import _ from "lodash";

const list = [
  { label: "船体事业部", value: "1" },
  { label: "机电事业部", value: "2" },
  { label: "工程管理部", value: "3" },
  { label: "特涂事业部", value: "4" },
];

const showLabel = (v) => {
  const one = _.find(list, { value: v });
  if (one) {
    return one.label;
  } else {
    return "";
  }
};

export { list, showLabel };
